package com.tuoren.forward.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @date 2023-10-19
 * @author wulianwei
 */
@Controller
public class PublicController {

	/**
	 * @title 首页
	 * @return
	 */
	@GetMapping("/")
	public String sayHello() {
		return "redirect:/index";
	}

	/**
	 * @title 登录页面
	 * @return
	 */
	@GetMapping("/login")
	public String login() {
		return "login";
	}

}
